package paidaxing.blog.comment.dto;

import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 点赞DTO
 */
@Data
public class LikeDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 点赞ID
     */
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 目标类型: POST,COMMENT
     */
    private String targetType;

    /**
     * 目标ID
     */
    private Long targetId;

    /**
     * 创建时间
     */
    private Date createdAt;
}